<%--
  @author Duminda Dharmakeerthi
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<div id="land-registration-module-home-title" class="module-home-title">
    <s:a href="landRegistrationModule.do">
        <span><img src="${pageContext.request.contextPath}/images/land-reg.png" alt="Land Registration">
            <s:label value="%{getText('land_registration.label')}"/></span>
    </s:a>

    <div id="back-button" align="right">
        <s:form><s:submit value="%{getText('back_btn.label')}" action="home"/></s:form>
    </div>

</div>
<s:include value="../notifications.jsp"/>
<div id="land-registration-module-home" class="module-home">
    <div class="page-title">
        <h2><s:label value="%{getText('land_identification_module.label')}"/></h2>
    </div>
    <ul>
        <s:if test="#session.userGroup=='sc' ">
            <li><s:a href="initForm.do"><img src="${pageContext.request.contextPath}/images/init-form.png"
                                             alt="Enter Initial Land Information"><span><s:label
                    value="Enter Land Information"/></span></s:a></li>


            <li><s:a href="detailForm.do"><img src="${pageContext.request.contextPath}/images/detailed-form.png"
                                               alt="Enter Detailed Land Information"><span><s:label
                    value="Edit Land Information"/></span></s:a></li>

            <%--<li><s:a href="subDivideForm.do"><img src="${pageContext.request.contextPath}/images/sub_divide.png"
                                                  alt="Sub-divide lands"><span><s:label
                    value="%{getText('sub_divide_land.label')}"/></span></s:a></li>

            <li><s:a href="subDivideFormEditList.do"><img
                    src="${pageContext.request.contextPath}/images/modify-form.png"
                    alt="Sub-divide lands edit"><span><s:label
                    value="%{getText('sub_divide_land_edit.label')}"/></span></s:a></li>--%>


        </s:if>
        <s:if test="#session.userGroup=='ords' ">
            <li><s:a href="approveLandList.do"><img src="${pageContext.request.contextPath}/images/accept.png"
                                                    alt="Approve Land Information"><span><s:label
                    value="%{getText('approve_land_info.label')}"/></span></s:a></li>
            <li>
                <s:a href="loadLandList.do">
                    <img src="${pageContext.request.contextPath}/images/interest-party.png"
                         alt="Approve Associated Lands With Alienation Methods">
                    <span><s:label value="%{getText('approve_associated_lands_with_alienation_methods.label')}"/></span>
                </s:a>
            </li>

            <li>
                <s:a href="defineAlienationMethodForLand.do">
                    <img src="${pageContext.request.contextPath}/images/associateLand.png"
                         alt="Associate Lands With Alienation Methods">
                    <span><s:label value="%{getText('approve_define_alienation_methods_for_lands.label')}"/></span>
                </s:a>
            </li>

            <li>
                <s:a href="subDividedLandList.do">
                    <img src="${pageContext.request.contextPath}/images/accept.png"
                         alt="Sub Divided Lands">
                    <span><s:label value="%{getText('approve_sub_divided_lands.label')}"/></span>
                </s:a>
            </li>
        </s:if>


        <s:if test="#session.userGroup=='orip'">
            <li><s:a href="initForm.do"><img src="${pageContext.request.contextPath}/images/init-form.png"
                                             alt="Enter Initial Land Information"><span><s:label
                    value="%{getText('enter_initial_land_info.label')}"/></span></s:a></li>

            <%--<li><s:a href="scheduleLandVisits.do"><img src="${pageContext.request.contextPath}/images/schedule-task.png"
                                                       alt="Schedule Land Visits"><span><s:label
                    value="%{getText('schedule_land_visits.label')}"/></span></s:a></li>--%>

            <li><s:a href="detailForm.do"><img src="${pageContext.request.contextPath}/images/detailed-form.png"
                                               alt="Enter Detailed Land Information"><span><s:label
                    value="%{getText('enter_detail_land_info.label')}"/></span></s:a></li>

            <li><s:a href="approveLandList.do"><img src="${pageContext.request.contextPath}/images/accept.png"
                                                                alt="Approve Land Information"><span><s:label
                                value="%{getText('approve_land_info.label')}"/></span></s:a></li>

            <%--<li><s:a href="subDivideForm.do"><img src="${pageContext.request.contextPath}/images/sub_divide.png"
                                                  alt="Sub-divide lands"><span><s:label
                    value="%{getText('sub_divide_land.label')}"/></span></s:a></li>

            <li><s:a href="subDivideFormEditList.do"><img
                    src="${pageContext.request.contextPath}/images/modify-form.png"
                    alt="Sub-divide lands edit"><span><s:label
                    value="%{getText('sub_divide_land_edit.label')}"/></span></s:a></li>--%>

            <li>
                            <s:a href="loadLandListORIP.do">
                                <img src="${pageContext.request.contextPath}/images/interest-party.png"
                                     alt="Associate Lands With Alienation Methods">
                                <span><s:label value="%{getText('associate_lands_with_alienation_methods.label')}"/></span>
                            </s:a>
                        </li>

                        <%--<li>
                            <s:a href="landKachcheryHome.do">
                                <img src="${pageContext.request.contextPath}/images/associateLand.png"
                                     alt="Land Kachchery">
                                <span><s:label value="%{getText('land_kachchery.label')}"/></span>
                            </s:a>
                        </li>

                        <li>
                            <s:a href="loadKachcheryEditList.do">
                                <img src="${pageContext.request.contextPath}/images/modify-form.png"
                                     alt="Land Kachchery Edit">
                                <span><s:label value="%{getText('land_kachchery_edit.label')}"/></span>
                            </s:a>
                        </li>--%>

            <li>
                            <s:a href="loadApproveLandListORIP.do">
                                <img src="${pageContext.request.contextPath}/images/interest-party.png"
                                     alt="Approve Associated Lands With Alienation Methods">
                                <span><s:label value="%{getText('approve_associated_lands_with_alienation_methods.label')}"/></span>
                            </s:a>
                        </li>

                        <li>
                            <s:a href="defineAlienationMethodForLandORIP.do">
                                <img src="${pageContext.request.contextPath}/images/associateLand.png"
                                     alt="Associate Lands With Alienation Methods">
                                <span><s:label value="%{getText('define_alienation_methods_for_lands.label')}"/></span>
                            </s:a>
                        </li>





            <li>
                <s:a href="defineAlienationMethodForApprovedLandORIP.do">
                    <img src="${pageContext.request.contextPath}/images/associateLand.png"
                         alt="Associate Lands With Alienation Methods">
                    <span><s:label value="%{getText('approve_define_alienation_methods_for_lands.label')}"/></span>
                </s:a>
            </li>


        </s:if>




    </ul>
</div>